﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200110F RID: 4367
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectPhoneThemeCsReq : IMessage<SelectPhoneThemeCsReq>, IMessage, IEquatable<SelectPhoneThemeCsReq>, IDeepCloneable<SelectPhoneThemeCsReq>, IBufferMessage
	{
		// Token: 0x17003754 RID: 14164
		// (get) Token: 0x0600C36F RID: 50031 RVA: 0x00210974 File Offset: 0x0020EB74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectPhoneThemeCsReq> Parser
		{
			get
			{
				return SelectPhoneThemeCsReq._parser;
			}
		}

		// Token: 0x17003755 RID: 14165
		// (get) Token: 0x0600C370 RID: 50032 RVA: 0x0021097B File Offset: 0x0020EB7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectPhoneThemeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003756 RID: 14166
		// (get) Token: 0x0600C371 RID: 50033 RVA: 0x0021098D File Offset: 0x0020EB8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectPhoneThemeCsReq.Descriptor;
			}
		}

		// Token: 0x0600C372 RID: 50034 RVA: 0x00210994 File Offset: 0x0020EB94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeCsReq()
		{
		}

		// Token: 0x0600C373 RID: 50035 RVA: 0x0021099C File Offset: 0x0020EB9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeCsReq(SelectPhoneThemeCsReq other) : this()
		{
			this.themeId_ = other.themeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C374 RID: 50036 RVA: 0x002109C1 File Offset: 0x0020EBC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectPhoneThemeCsReq Clone()
		{
			return new SelectPhoneThemeCsReq(this);
		}

		// Token: 0x17003757 RID: 14167
		// (get) Token: 0x0600C375 RID: 50037 RVA: 0x002109C9 File Offset: 0x0020EBC9
		// (set) Token: 0x0600C376 RID: 50038 RVA: 0x002109D1 File Offset: 0x0020EBD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ThemeId
		{
			get
			{
				return this.themeId_;
			}
			set
			{
				this.themeId_ = value;
			}
		}

		// Token: 0x0600C377 RID: 50039 RVA: 0x002109DA File Offset: 0x0020EBDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectPhoneThemeCsReq);
		}

		// Token: 0x0600C378 RID: 50040 RVA: 0x002109E8 File Offset: 0x0020EBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectPhoneThemeCsReq other)
		{
			return other != null && (other == this || (this.ThemeId == other.ThemeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C379 RID: 50041 RVA: 0x00210A18 File Offset: 0x0020EC18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ThemeId != 0U)
			{
				num ^= this.ThemeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C37A RID: 50042 RVA: 0x00210A57 File Offset: 0x0020EC57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C37B RID: 50043 RVA: 0x00210A5F File Offset: 0x0020EC5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C37C RID: 50044 RVA: 0x00210A68 File Offset: 0x0020EC68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ThemeId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ThemeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C37D RID: 50045 RVA: 0x00210A9C File Offset: 0x0020EC9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ThemeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ThemeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C37E RID: 50046 RVA: 0x00210ADA File Offset: 0x0020ECDA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectPhoneThemeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ThemeId != 0U)
			{
				this.ThemeId = other.ThemeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C37F RID: 50047 RVA: 0x00210B0B File Offset: 0x0020ED0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C380 RID: 50048 RVA: 0x00210B14 File Offset: 0x0020ED14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ThemeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004EE0 RID: 20192
		private static readonly MessageParser<SelectPhoneThemeCsReq> _parser = new MessageParser<SelectPhoneThemeCsReq>(() => new SelectPhoneThemeCsReq());

		// Token: 0x04004EE1 RID: 20193
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004EE2 RID: 20194
		public const int ThemeIdFieldNumber = 4;

		// Token: 0x04004EE3 RID: 20195
		private uint themeId_;
	}
}
